package com.aspose.cells;

class zsb {
   Workbook a;
   Object b;
   private zcw c;
   private GlowEffect d;
   private zakj e;
   private zasi f;
   private zavi g;
   private zaza h;
   private int i;

   zsb(Workbook var1, Object var2) {
      this.a = var1;
      this.b = var2;
      this.i = -1;
   }

   boolean a() {
      return this.c == null && this.e == null && this.f == null && this.g == null && this.h == null && this.i == -1 && (this.d == null || !this.d.a());
   }

   zcw b() {
      if (this.c == null) {
         this.c = new zcw();
      }

      return this.c;
   }

   zcw c() {
      return this.c;
   }

   GlowEffect d() {
      if (this.d == null) {
         this.d = new GlowEffect(this);
      }

      return this.d;
   }

   void a(GlowEffect var1) {
      this.d = var1;
   }

   GlowEffect e() {
      return this.d;
   }

   void f() {
      this.e = null;
      this.f = null;
      this.g = null;
   }

   zakj g() {
      if (this.e == null) {
         this.e = new zakj(this);
      }

      return this.e;
   }

   zakj h() {
      return this.e;
   }

   zasi i() {
      if (this.f == null) {
         this.f = new zasi(this);
      }

      return this.f;
   }

   zasi j() {
      return this.f;
   }

   zavi k() {
      if (this.g == null) {
         this.g = new zavi(this);
      }

      return this.g;
   }

   zavi l() {
      return this.g;
   }

   zaza m() {
      if (this.h == null) {
         this.h = new zaza();
      }

      return this.h;
   }

   zaza n() {
      return this.h;
   }

   int o() {
      return this.i;
   }

   void a(int var1) {
      this.i = var1;
   }

   public double p() {
      return (double)this.i / zml.i;
   }

   public void a(double var1) {
      this.i = (int)(var1 * zml.i);
   }

   void a(zsb var1) {
      if (var1.c != null) {
         this.c = new zcw();
         this.c.a(var1.c);
      }

      if (var1.d != null) {
         this.d = new GlowEffect(this);
         this.d.a(var1.d);
      }

      if (var1.e != null) {
         this.e = new zakj(this);
         this.e.a(var1.e);
      }

      if (var1.f != null) {
         this.f = new zasi(this);
         this.f.a(var1.f);
      }

      if (var1.g != null) {
         this.g = new zavi(this);
         this.g.a(var1.g);
      }

      if (var1.h != null) {
         this.h = new zaza();
         this.h.a(var1.h);
      }

      this.i = var1.i;
   }

   boolean b(zsb var1) {
      if (this.c != null || var1.c != null) {
         if (this.c == null || var1.c == null) {
            return false;
         }

         if (!this.c.b(var1.c)) {
            return false;
         }
      }

      if (this.d != null || var1.d != null) {
         if (this.d == null || var1.d == null) {
            return false;
         }

         if (!this.d.b(var1.d)) {
            return false;
         }
      }

      if (this.e != null || var1.e != null) {
         if (this.e == null || var1.e == null) {
            return false;
         }

         if (!this.e.b(var1.e)) {
            return false;
         }
      }

      if (this.f != null || var1.f != null) {
         if (this.f == null || var1.f == null) {
            return false;
         }

         if (!this.f.b(var1.f)) {
            return false;
         }
      }

      if (this.g != null || var1.g != null) {
         if (this.g == null || var1.g == null) {
            return false;
         }

         if (!this.g.b(var1.g)) {
            return false;
         }
      }

      if (this.h != null || var1.h != null) {
         if (this.h == null || var1.h == null) {
            return false;
         }

         if (!this.h.b(var1.h)) {
            return false;
         }
      }

      return this.i == var1.i;
   }
}
